export interface TemplateStep {
  stepNumber: number;
  description: string;
  device?: string;
  action?: string;
  isCritical?: boolean;
}

export interface TicketTemplate {
  id: string;
  name: string;
  type: string;
  description: string;
  location: string; // e.g., "丁堰车辆段"
  task: {
    name: string; // e.g., "{target}隔离开关送电", {target} is a placeholder
    target?: string; // 目标股道，如"21股道"
    conditions: string;
    requiredGear: string[];
    precautions: string[];
  };
  steps: TemplateStep[];
} 